<script setup>
    import { ref } from 'vue';

    const count = ref(0);

    function increment() {
        count.value++;
    }
</script>

<template>
    <button @click="increment">
        Current count is: {{ count }}
    </button>
</template>
